<?php

namespace Apps\Manage;


use PhalconPlus\Common\BaseModule;
use Phalcon\Mvc\ModuleDefinitionInterface;


class Module extends BaseModule implements ModuleDefinitionInterface
{
    const DIR = __DIR__;

    /**
     * Registers the module-only services
     * @param \Phalcon\DiInterface $di
     */
    public function registerServices(\Phalcon\DiInterface $di)
    {

        parent::registerServices($di);

        $di->set('tagNav',  function() {
            return new \PhalconPlus\Html\TagNav();
        });

    }

    public function getVoltCompileFunction($di)
    {
        return include __DIR__ . '/config/voltFunction.php';
    }
}
